﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Library
{
    public partial class ChiTietHDN
    {
        public static List<ChiTietHDN> GetList(String MaHDN)
        {
            return DalChiTietHDN.GetListByMa(MaHDN);
        }

        public ChiTietHDN(String _ma, int _idsp, int _soluong)
        {
            MaHDN = _ma;
            ID_SP = _idsp;
            SoLuong = _soluong;
        }

        public ChiTietHDN()
        {
            // TODO: Complete member initialization
        }

        public void Add()
        {
            DalChiTietHDN.Add(this);
        }
    }
}
